<!DOCTYPE html>
<html lang="en">
  <head>
    <title>State Enum Reference</title>
    <link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../../js/jquery.min.js" defer></script>
    <script src="../../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Enum/State" class="dashAnchor"></a>
    <a title="State Enum Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../../index.html">MobilePlayer Docs</a> (100% documented)</p>
        <p class="header-right"><a href="https://github.com/mobileplayer/mobileplayer-ios"><img src="../../img/gh.png"/>View on GitHub</a></p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../../index.html">MobilePlayer Reference</a>
        <img id="carat" src="../../img/carat.png" />
        State Enum Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Classes/BarConfig.html">BarConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/ButtonConfig.html">ButtonConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/ElementConfig.html">ElementConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/LabelConfig.html">LabelConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/MobilePlayerConfig.html">MobilePlayerConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/MobilePlayerOverlayViewController.html">MobilePlayerOverlayViewController</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/MobilePlayerViewController.html">MobilePlayerViewController</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/MobilePlayerViewController/State.html">– State</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/SliderConfig.html">SliderConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/ToggleButtonConfig.html">ToggleButtonConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Classes/WatermarkConfig.html">WatermarkConfig</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Global Variables.html">Global Variables</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Global Variables.html#/s:v12MobilePlayer41MobilePlayerDidEncounterErrorNotificationSS">MobilePlayerDidEncounterErrorNotification</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Global Variables.html#/s:v12MobilePlayer28MobilePlayerErrorUserInfoKeySS">MobilePlayerErrorUserInfoKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Global Variables.html#/s:v12MobilePlayer38MobilePlayerStateDidChangeNotificationSS">MobilePlayerStateDidChangeNotification</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../../Enums.html">Enums</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../../Enums/ElementType.html">ElementType</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/ElementWidthCalculation.html">ElementWidthCalculation</a>
              </li>
              <li class="nav-group-task">
                <a href="../../Enums/WatermarkPosition.html">WatermarkPosition</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>State</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">State</span></code></pre>

                </div>
              </div>
            <p>Playback state.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FOC12MobilePlayer26MobilePlayerViewController5State4idleFMS1_S1_"></a>
                    <a name="//apple_ref/swift/Element/idle" class="dashAnchor"></a>
                    <a class="token" href="#/s:FOC12MobilePlayer26MobilePlayerViewController5State4idleFMS1_S1_">idle</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Either playback has not started or playback was stopped due to a <code><a href="../../Classes/MobilePlayerViewController.html#/s:FC12MobilePlayer26MobilePlayerViewController4stopFT_T_">stop()</a></code> call or an error. When an error
occurs, a corresponding <code><a href="../../Global Variables.html#/s:v12MobilePlayer41MobilePlayerDidEncounterErrorNotificationSS">MobilePlayerDidEncounterErrorNotification</a></code> notification is posted.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="k">case</span> <span class="n">idle</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FOC12MobilePlayer26MobilePlayerViewController5State9bufferingFMS1_S1_"></a>
                    <a name="//apple_ref/swift/Element/buffering" class="dashAnchor"></a>
                    <a class="token" href="#/s:FOC12MobilePlayer26MobilePlayerViewController5State9bufferingFMS1_S1_">buffering</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The video will start playing, but sufficient data to start playback has to be loaded first.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="k">case</span> <span class="n">buffering</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FOC12MobilePlayer26MobilePlayerViewController5State7playingFMS1_S1_"></a>
                    <a name="//apple_ref/swift/Element/playing" class="dashAnchor"></a>
                    <a class="token" href="#/s:FOC12MobilePlayer26MobilePlayerViewController5State7playingFMS1_S1_">playing</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The video is currently playing.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="k">case</span> <span class="n">playing</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:FOC12MobilePlayer26MobilePlayerViewController5State6pausedFMS1_S1_"></a>
                    <a name="//apple_ref/swift/Element/paused" class="dashAnchor"></a>
                    <a class="token" href="#/s:FOC12MobilePlayer26MobilePlayerViewController5State6pausedFMS1_S1_">paused</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>The video is currently paused.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight"><code><span class="k">case</span> <span class="n">paused</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2016 <a class="link" href="https://mobileplayer.io" target="_blank" rel="external">MobilePlayer</a>. All rights reserved. (Last updated: 2016-10-11)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.7.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
